package com.ojoin.trade.supplyloan_core.constdef;


public interface ISLConstDef {

	// 贷款申请状态 1申请中 2申请被拒 3初步申请通过 4申请成功）

	int SLLOANSTATUS_INIT = 10; // 已提交实名信息
	
	int SLLOANSTATUS_REALNAME = 11; // 存量商户已提交实名信息

	int SLLOANSTATUS_COMMITCONTRACT = 12; // 存量商户已提交上下游合同

	int SLLOANSTATUS_COMMITVAGUECREDIT = 13; // 存量商户已提交模糊授信xls

	int SLLOANSTATUS_COMMITPLATFORMUSERINFO = 14; // 存量商户已提交电商平台账号密码

	int SLLOANSTATUS_DOING = 1; // 存量商户已提交授信申请
	
	int SLLOANSTATUS_CREDITED = 2; // 保理员已授信

	int SLLOANSTATUS_RISKPASSED = 31; // 风控审核通过

	int SLLOANSTATUS_RISKREFUSEED = 32; // 风控审核拒绝
	
	int SLLOANSTATUS_REFUSECREDITED = 4; // 保理员授信不通过

	int SLLOANSTATUS_USERCOMFIRMED = 5; // 用户确认做此业务

	int SLLOANSTATUS_MATERIALCOMMITED = 6; // 用户已提交保理合同

	int SLLOANSTATUS_MATERIALPASSED = 7; // 用户提交的保理合同审核通过

	int SLLOANSTATUS_MATERIALREFUSEED = 8; // 用户提交的保理合同审核不通过

	int SLLOAN_CREDITTYPE_VAGUE = 0; //模糊授信
	
	int SLLOAN_CREDITTYPE_PRECISE = 1; //精准授信
	
	int SLLOAN_CREDITTYPE_VAGUEREFUSE = 2; //模糊授信拒绝
	
	int SLLOAN_CREDITTYPE_PRECISEREFUSE = 3; //精准授信拒绝
	/*
	 * 
	 * 业务文件存放目录
	 */
	
	String slLoanEvaluateFileDir="SL_EvaluateFile_gen"; //供应链贷 模糊评估目录
    
    String slLoanUpDownStreamContractFileDir="SL_UpDownStreamContractFile_gen"; //供应链贷上下游合同目录

    String slLoanDebtAgreementFileDir="SL_debtAgreementFile_gen"; //供应链贷 欠款目录
    
    String slLoanCreditFileDir="SL_LoanCreditFileDir";//授信凭证
    
	String slcontractGenFileDir = "SL_ContractFile_gen"; //供应链贷保理合同目录
	
	String slcontractUserFileDir = "SL_ContractFile_user_gen"; //供应链贷保理合同目录(用户回传)
	
    String slLoanApplyGenFileDir="SL_LoanApplyFile_gen"; //供应链贷融资申请书目录
    
    String slLoanPaymentOrderDir="SL_LoanPaymentOrder_gen"; //供应链贷付款通知单目录
    
    String slLoanRenewedApplyDir="SL_LoanRenewedApply_gen"; //供应链贷展期还款申请目录
    
    String slLoanCreditReportFileDir="SL_LoanCreditReportFileDir";//征信登記表
    
    String slLoanPaymentReceiptFileDir="SL_PaymentReceipt_dir"; //融资补录电子回执单
    
    String slLoanContractInfoCheckDir="SL_LoanContractInfoCheck_gen"; //供应链贷合同信息核查表目录
    
	
	//保理员授信时下载查看的文件类型
	String FILETYPE_CONTRACT = "contract"; //上下游贸易合同
	String FILETYPE_CREDITINFO = "creditinfo"; //模糊授信信息文件
	
	
	//模糊评估文件名称
	String EVALUATE_FILE_NAME="客户基本情况表.xlsx";
	String EVALUATE_FILE_DISPLAYNAME="客户基本情况表v1.xlsx";
	
	String materialFileDir = "material";
	String contractFileDir = "contract";
	
	//保密承诺书
	String SECRETPROMISE="secretPromise.jpg";
	String SECRETPROMISE_DISPLAYNAME="保密承诺书v1.jpg";

	// 结算单状态 0未付款 1已付款
	int BANLANCESTATUS_UNCHECK = -1;

	int BANLANCESTATUS_UNPAY = 0;

	int BANLANCESTATUS_PAYED = 1;

	// 出库单状态 0未确认 1已确认
	int OUTSTORESTATUS_UNCONFIM = 0;

	int OUTSTORESTATUS_CONFIMED = 1;

	// 采购单状态 0部分收货 1完全收货
	int OUTSTORESTATUS_PARTRECEIVE = 0;

	int OUTSTORESTATUS_ALLRECEIVE = 1;

	// 抓取数据 商户登陆检查结果(0不一致1一致)
	int CATCHDATA_LOGINCHECK_FAILED = 0;

	int CATCHDATA_LOGINCHECK_SUEECSS = 1;

	// 抓取数据 供应商名称检查结果(0不一致1一致)
	int CATCHDATA_SLNAMECHECK_ERROR = 0;

	int CATCHDATA_SLNAMECHECK_CORRECT = 1;

	// 抓取数据 供应商账号检查结果(0不一致1一致)
	int CATCHDATA_SLACCOUNTCHECK_ERROR = 0;

	int CATCHDATA_SLACCOUNTCHECK_CORRECT = 1;

	// 抓取数据 商户登陆检查结果(0不一致1一致)
	int CATCHDATA_TASKRUN_FAILED = 0;

	int CATCHDATA_TASKRUN_SUEECSS = 1;
	
	//回款任务 0未运行 1运行成功 2运行失败 3查询失败
	int SLREFUND_NORUN = 0;
	
	int SLREFUND_RUNSUCESS = 1;
	
	int SLREFUND_RUNFAILED = 2;
	
	int SLREFUND_QUERYFAILED = 3;
	
	//电商平台状态
	String PLATFORM_STATUS_INITED= "inited"; //初始
	
	String PLATFORM_STATUS_ENABLED= "enabled"; //正常抓取
	
	String PLATFORM_STATUS_PAUSED= "paused"; //申请暂停 
	
	String PLATFORM_STATUS_DISABLED= "disabled"; //已暂停

    //前台展示的贷款状态
    int LOAN_NORMAL=0; //正常
    int LOAN_RENEWED=1;//展期
    int LOAN_OVERDUE=2;//逾期

    //调差价类型
    String FLOAT_TYPE_RATE="rate";
    String FLOAT_TYPE_FEE="fee";
    String FLOAT_TYPE_RENEWEDRATE="renewedrate";
    String FlOAT_TYPE_RENEWEDFEE="renewedfee";
    String FLOAT_TYPE_PENALTY="penalty";
    
    //导出对账文件模板名
    String SLLOANEXCEL_REPORT_RENEWED = "sl_balance_report_renewed"; //有展期无优惠
    String SLLOANEXCEL_REPORT_RENEWED_HASSALEINFO = "sl_balance_report_renewed_hassaleinfo"; //有展期有优惠
    String SLLOANEXCEL_REPORT_HASSALEINFO = "sl_balance_report_hassaleinfo"; //无展期有优惠
    String SLLOANEXCEL_REPORT = "sl_balance_report";//无展期无优惠
    
    String SLLOANEXCEL_REPORT_CONSTACTINFOCHECK = "sl_contractinfocheck"; //合同信息核查表
    String SLLOANEXCEL_REPORT_DAILYLOAN = "sl_report_dailyloan";//融资日报
    
    //上传文件类型
    String SUPPLY_BASEINFO = "SUPPLY_BASEINFO"; //供应商基础信息表
    String SUPPLY_UPDOWN_CONTRACT = "SUPPLY_UPDOWN_CONTRACT"; //上下游合同
    String SUPPLY_CREDIT_CERTIFICATE = "SUPPLY_CREDIT_CERTIFICATE"; //授信凭证
    String SUPPLY_FACTORING_CONTRACT_AUTOGEN = "SUPPLY_FACTORING_CONTRACT_AUTOGEN"; //保理合同_自动生成
    String SUPPLY_FACTORING_CONTRACT_USERCOMMIT = "SUPPLY_FACTORING_CONTRACT_USERCOMMIT"; //保理合同_用户提交
    
    String SUPPLY_LOAN_APPLY_AUTOGEN = "SUPPLY_LOAN_APPLY_AUTOGEN"; //融资申请书_自动生成
    String SUPPLY_LOAN_APPLY_USERCOMMIT = "SUPPLY_LOAN_APPLY_USERCOMMIT"; //融资申请书_用户提交
    
    String SUPPLY_RENEWED_APPLY_AUTOGEN = "SUPPLY_RENEWED_APPLY_AUTOGEN"; //展期申请书_自动生成
    String SUPPLY_RENEWED_APPLY_USERCOMMIT = "SUPPLY_RENEWED_APPLY_USERCOMMIT"; //展期申请书_用户提交
    
    String SUPPLY_CREDIT_INFO = "SUPPLY_CREDIT_INFO"; //征信登记表
    String SUPPLY_PAYMENT_NOTICE = "SUPPLY_PAYMENT_NOTICE"; //付款通知书
    String SUPPLY_PAYMENT_CERTIFICATE = "SUPPLY_PAYMENT_CERTIFICATE"; //付款应收账款数据凭证
    
    String SUPPLY_PAYMENT_RECEIPT = "SUPPLY_PAYMENT_RECEIPT"; //融资补录电子回执单
    String SUPPLY_REFUND_CERTIFICATE = "SUPPLY_REFUND_CERTIFICATE"; //还款凭证
    
    String SUPPLY_ALIPAY_PAPERSEAL = "SUPPLY_ALIPAY_PAPERSEAL"; //阿里电子印章文件

    String MERCHANT_TYPE="merchant";
    String OPERATOR_TYPE="operator";
    String FIRSTTRIAL_TYPE="firsttrial";

    String MANU_OPERATOR="manuoperator";
    String AUTO_OPERATOR="autooperator";


    String FLOAT_INIT="init";
    String FLOAT_SUBMIT="submit";

    
    //授信流程实例id
  	String creditProcessDefinitionKey = "slBaseCredit";

  	//短信通知标签
    String VAGUE_CREDIT_PASS="vague_credit_pass";//模糊授信通过
    String VAGUE_CREDIT_REFUSE="vague_credit_refuse"; //模糊授信不通过
    String PRECISE_CREDIT_PASS="precise_credit_pass"; //精确授信通过
    String PRECISE_CREDIT_REJECT="precise_credit_reject"; //精确授信不通过

    String DOWNLOAD_CONTRACT="download_contract";//下载保理合同

    String CONTRACT_PASS="contract_pass";//保理合同审核通过
    String CONTRACT_REJECT="contract_reject";//保理合同审核不通过
    String ACCOUNT_CHANGE="account_change";//结算账户变更
    String LOAN_PASS="loan_pass";//融资款发放提醒
    String LOAN_REFUSE="loan_refuse";//融资拒绝提醒
    String CONTRACT_EXPIRE="contract_expire";//保理合同到期
    String LOAN_EXPIRE="loan_expire";//融资期限到期
    String AUTO_REFUND="auto_refund";//自动扣款
    String RENEWED_PASS="renewed_pass";//展期申请通过
    String RENEWED_REFUSE="renewed_refuse";//展期申请拒绝
    String ACCOUNT_IN="account_in";//基本户资金转入
    String ACCOUNT_OUT="account_out";//基本户资金转出
    String LOAN_REJECT="loan_reject";//放款驳回
    String OPERATE_ERROR="operate_error";//操作错误

    
}
